package org.dtrd.modules.common.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dtrd.common.api.dto.BasePageRequest;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @Author: xiao
 * @Date: 2022-06-19 20:23:26
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("关联患者分页请求对象")
@Data
public class RelationPatientPageRequest extends BasePageRequest {

    @NotNull(message = "参数异常")
    @ApiModelProperty(value = "医生ID")
    private Integer doctorId;

    @NotNull(message = "参数异常")
    @Range(min = 1, max = 4, message = "参数异常")
    @ApiModelProperty(value = "请求类型", notes = "1-今日测量 2-重点关注 3-未测量患者 4-扫码患者")
    private Integer type;

    @ApiModelProperty(value = "二级类型", notes = "1- 2-")
    private Integer subType;

}
